package service

import (
	"week2/dao"
	"week2/model"
)

type userService struct {
}

var UserService = new(userService)

func (u *userService) One(id string) (model.User, error) {
	user := model.User{
		Id: id,
	}
	return dao.One(user)
}
